package demo

import (
	"gin-sns/app/ginframe/response"

	"github.com/gin-gonic/gin"
)

var IconController = newIconController()

func newIconController() *iconController {
	return &iconController{}
}

type iconController struct {
}

func (c *iconController) Fontawesome(ctx *gin.Context) {
	response.BuildTpl(ctx, "demo/icon/fontawesome").WriteTpl()
}

func (c *iconController) Glyphicons(ctx *gin.Context) {
	response.BuildTpl(ctx, "demo/icon/glyphicons").WriteTpl()
}
